<?php
$result = array (
  'xmp-exif' => 
  array (
    'CameraOwnerName' => 'Me!',
  ),
  'xmp-general' => 
  array (
    'LicenseUrl' => 'http://creativecommons.com/cc-by-2.9',
    'ImageDescription' => 
    array (
      'x-default' => 'Test image for the cc: xmp: xmpRights: namespaces in xmp',
      '_type' => 'lang',
    ),
    'ObjectName' => 
    array (
      'x-default' => 'xmp core/xmp rights/cc ns test',
      '_type' => 'lang',
    ),
    'DateTimeDigitized' => '2005:04:03',
    'Software' => 'The one true editor: Vi (ok i used gimp)',
    'Identifier' => 
    array (
      0 => 'http://example.com/identifierurl',
      1 => 'urn:sha1:342524abcdef',
      '_type' => 'ul',
    ),
    'Label' => 'Test image',
    'DateTimeMetadata' => '2011:05:12',
    'DateTime' => '2007:03:04 06:34:10',
    'Nickname' => 'My little xmp test image',
    'Rating' => '5',
    'RightsCertificate' => 'http://example.com/rights-certificate/',
    'Copyrighted' => 'True',
    'CopyrightOwner' => 
    array (
      0 => 'Bawolff is copyright owner',
      '_type' => 'ul',
    ),
    'UsageTerms' => 
    array (
      'x-default' => 'do whatever you want',
      'en-gb' => 'Do whatever you want in british english',
      '_type' => 'lang',
    ),
    'WebStatement' => 'http://example.com/web_statement',
  ),
  'xmp-deprecated' => 
  array (
    'Identifier' => 'http://example.com/identifierurl/wrong',
  ),
);
